/**
 * 第二周作业4
 * zlp
 */
var str = "A";
var width = 10;
var height = 10;
for (let i = height;i > 0;i--){
  var result = "";
  for (let j = 0;j<i;j++){
    result += str;
  }
  if(i %2 === 0){
    console.log(result);
  }
}
